package com.itheima.day12_多线程.Test2;

public class Test {
    public static void main(String[] args) {
        MyRunnable mr = new MyRunnable();
        Thread t1 = new Thread(mr);
        t1.setName("迪丽热巴");
        t1.start();

        MyRunnable mr1 = new MyRunnable();
        Thread t2 = new Thread(mr);
        t2.setName("古力娜扎");
        t2.start();
    }
}
